perm filename TRANS.FER[DOC,MUS]3 blob sn#539879 filedate 1980-10-01 generic text, type C, neo UTF8
COMMENT ⊗   VALID 00007 PAGES
C REC  PAGE   DESCRIPTION
C00001 00001
C00002 00002	Introduction
C00004 00003	1.  At SAIL, alias to the area from which you wish to transfer files.
C00006 00004	4. run FTP:
C00009 00005	6. at SCORE:
C00013 00006	7. at CCRMA:
C00015 00007	Miscellaneous notes DART DIAL
C00017 ENDMK
C⊗;
Introduction

This file contains all the necessary rigamarole needed for transferring
files from SAIL to CCRMA via SCORE, I hope.  If something doesn't work
while you are at Jacks Hall, try to find Mark Crispin (MRC) for help (his
office is in the basement back past the machine room) or call me (MMM) at
CCRMA or at home (322-3925).

Feel free to add your own comments at the end of this file;  please
initial your additions so we'll know who to ask, thank, and/or blame...

JMS:  this file includes JOS's additions, transferred from CCRMA 6 July 80.
I have added a page on transferring stuff using DIAL from CCRMA to SAIL.

 
SCORE is a TOPS-20 system which exists physically side by side with the
SAIL KL-10 system at Jacks.  The reason it is ne cessary to go here first
is that they have a compatible tape drive with CCRMA (9 track), whereas
SAIL's is not (7 track).
 
FTP is the program used to transfer files to SCORE using tape.

10/1/80 NOTE [MMM]: Since I have now used DART several times for transferring
stuff, this file now explains the protocol for that, instead of COPY. The
essential differences are that filenames (but NOT PPNS) are preserved, which is
safer, and it involves less editing of the directory file.
1.  At SAIL, alias to the area from which you wish to transfer files.
 
2.  Create a directory file  like so:
	.DIR/F YOUPPN.DIR← <cr>
    this makes a file called, e.g., YOUPPN.DIR which has a list of all
    your files on that area without all the information about size, date, etc.
 
3.  edit the file (/n **) to conform to the following:
	a.  remove anything other than file names and extensions
	b.  add dots between file names and extensions
	c.  remove any extra spaces
	d.  make sure that YOUPPN.DIR is the FIRST file name given 
		(if it's not there, insert it at the top)
      ** i.e., do not put a directory page on this file
 
e.g. if it starts out looking like tis:
	FOO	BAZ
	MUMBLE	XY
it should end up like this:
	FOO.BAZ
	MUMBLE.XY
you can make up some E macros to do this if you have a lot of files:
 
Type:  	αβXDEFINE $<cr>
	α6α<space>.<cr>αβ<line>
 
which defines the macro $ to mean "go in 6 spaces, type a ".", then a <return>.
Then, every time you type α$, E will perform the above. A simple substitute
command will clobber the extra spaces.
4. run FTP:
        If you are transferring from the system disk to tape, skip to step 4b.

        Transfer from UDP to tape:  To get FTP to take files directly off
        a UDP, you may have to create a [NET,MRC] directory on the UDP and
        copy the file DSK:HOSTS1.BIN[NET,MRC] into it (i.e. if it does not
        already exist on the UDP you are using). This file is the ARPANET
        host table necessary for FTP to be able to find SCORE. You also must
        assign the UDP as DSK in order for FTP to read the files from UDP.

        a. To initialize the diskpack on UDP1 for use with FTP, you might type
        A UDP1 U <cr>
        UDPUFD <cr>
        NET,MRC <cr>      (prompt information from the computer suppressed here)
        MUSIC <cr>
        <cr><cr><cr><cr>Y       
        COP U:[NET,MRC] ← HOSTS1.BIN[NET,MRC] <cr>
        A UDP1 DSK <cr>

        
        b. To transfer files to SCORE, type
        .FTP SCORE <cr>    (or maybe "SU-SCORE")
        *LOG G.MMM <cr>
        PASSWORD= BOSCO <cr>
        (after this it should confirm you are logged in)
        *XCWD <1SCRATCH> <cr>
        (this connects you with one of the 4 large scratch areas at SCORE.
         The other possibilities are <2scratch>, <3cratch>, & <4scratch>)
        *STORE *.* <cr>
        (all the files will now be transferred)

5. do steps 1-4 for each area at SAIL you wish to transfer
6. at SCORE:
        a. go to the single SCORE terminal in the machine room, which is on
           a table to the far left as you go in, near the SCORE console
           teletype and disk drives. 
        b. type:
                <CNTRL> C until the terminal responds 
                @G.MMM BOSCO <cr> (BOSCO won't echo)
                @ASS MTA0: <cr>
        c. go mount your tape on the tape drive, at the other end of
           the row of disk drives, marked "MTA0:". It should work
           just like the CCRMA drive.
        d. type:
                @SET TAPE DENSITY 800 <cr>
                @INFO TAPE-PARAMETERS <cr>
                @CD <1SCRATCH> <cr>
                @TERMINAL NO PAGE <cr>
		@DART <cr>
                *DUMP @YOUPPN.DIR <cr>
		(file names are printed as they are dumped)
		*EXIT

        The SET command sets the tape to 800 BPI. The INFO command is
        optional, but it tells you all you might need to know about your
        tape in some other circumstance. The CD command changes your
        directory to the system scratch-disk called <1scratch>.  The
        "terminal no page" command prevents you from having to type
        CONTROL-Q after every screenful, assuming you have better things
        to do.  The "DUMP @YOUPPN.DIR" command causes each file listed in
        YOUPPN.DIR to be dumped.  If you
        followed step 3 correctly, it will copy YOUPPN.DIR first onto the
        tape, then all the other files from that area. 
        When it finishes, simply say "DUMP
        @<DirectoryFile>" for each of the SAIL areas you transfered via
        FTP.  Note which order you did them in.

        d. If the above terminal is occupied, you can also do it
           via TELNET from your SAIL terminal:
                .TN SCORE <cr>
                @G.MMM BOSCO <cr>
                (etc.)

        f. remove tape from drive, write-ring from tape, and yourself from
           Jacks Hall. (whew!)
 
7. at CCRMA:
        a. Alias to the first area (if it doesn't yet exist, create
           it by saying "UFD <cr>" and following the prompts).
           Type "A MTA0", and mount your tape on the CCRMA drive.

        b. type:
                .R DART <cr>
                *RESTORE YOUPPN.DIR[*,*]<cr>
		   (DART eventually prints: "YOUPPN.DIR" when it is restored)
                * <CALL>
                .REWIND

	   The [*,*] is necessary because SCORE has a different ppn system
	   and it comes out garbled at the CCRMA end. The CALL is then 
	   necessary because it will then go on looking for other "YOUPPN" files.

        c. re-edit YOUPPN.DIR to delete the first line (which refers to YOUPPN.DIR),
	   and add "[*,*]" after all filenames.
           Make sure the file does not acquire a directory page.
 
        d. type: 
                .R DART <cr>
	        *RESTORE @YOUPPN.DIR <cr>
           and all your files should be restored.

	e. Rewind the tape
 
        f. do STEPS 7a-7e for each area that you put on the tape.
Miscellaneous notes; DART; DIAL

↑O17-Jun-80  1038       TVR     File transfers
I used DIR XXX.DIR←*.*[*,TVR] get all my files, then used SOS to generate
FTP command list of form:
STOR XXXXXX.YYY[ZZZ,TVR]↑YXXXXXX.YYY-ZZZ
and then replaced STOR ↑N↑T↑Y with COPY and appended MTA0:<return><return>
after it.  I found that two CRLFs were needed.

Important note:  I believe that SCORE will not try to write a zero length
file, so you should edit those out before doing anything else.

                                                                --- Tovar

DIAL:
It seems easy to transfer files from CCRMA→SAIL usind DIAL, but
neither JOS nor I can make SAIL→CCRMA work yet with any accuracy.
-- jms
 
Aren't you glad YOU use DIAL?

[JOS] Files can be transferred from SAIL to CCRMA using the READLN program at 
CCRMA to catch the output from DIAL. There is still a typo every now and then.
Type .R READLN at CCRMA through dial, give it an output file name, and then
send the file. The file cannot contain * in column 1 anywhere, and lines
must be less than 80 characters long (as defined by returns).